package com.itheima.servcie;

import com.itheima.dao.UserDao;
import com.itheima.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServcie {

    @Autowired
    private UserDao userDao;

    public User getUser(int id){
        return userDao.getUser(id);

    }
}
